import { State } from "./interface";
//============初始化赋值==========================
const state: State = {
    list: [],
    count: 0,
    commLoading: false, //赋值
    isOpen: true, //是否开通
    unToken: ["/login", "/401", "/500", "/*"], // 不需要token的路由地址
    username: "",
    avatar: "",
    defaultPath: "/index",
    storageKey: "yue-admin", // 存储到storage的key
    logoUrl: "",
    token: "",
    cityList: [],
    menus: [],
    permissions: []
};

export default state;
